package edu.mit.compilers.assembly.x64.codes;

import edu.mit.compilers.lowercode.code.ThreeAddressCode;

public class X64DebugInfoCode extends X64Code {
    ThreeAddressCode code;
    public X64DebugInfoCode(ThreeAddressCode code) {
        this.code = code;
    }

    @Override
    protected String getStringFroShow(String prefix, boolean debug) {
        if (!debug) {
            return "";
        }
        StringBuilder builder = new StringBuilder();
        code.getStringForShow(prefix + "#  ", builder);
        return builder.toString();
    }
}
